#ifndef GROUND_H
#define GROUND_H

#include <QPixmap>
#include <QRect>

class ground{
public:
    //初始化
    ground();
    void calculateposition();
    //贴图
    QPixmap Ground;
    int groundpositionX;
    int groundscrollspeed;
};
class grounds{
public:
    grounds();
    void Calculateposition();
    ground Grounds[10];
    int distance;
};

#endif // GROUND_H
